package com.redwine.app.net.responses;

import java.io.Serializable;

/**
 * Created by tian on 15/4/17:下午6:06.
 */
public class BaseResponse implements Serializable {
    /**
     * status : 0
     * msg : 注册成功
     * data : 89
     */
    private int status;
    private String msg;
    public boolean success;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccess() {
        return status == 0 ? true : false;
    }
}
